[INFO] cloning repository https://github.com/k2bd/kev-holdem-client-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k2bd/kev-holdem-client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk2bd%2Fkev-holdem-client-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk2bd%2Fkev-holdem-client-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 66c5b9cf2579d2d3e1447918e0a5a13e42d8f475
[INFO] building k2bd/kev-holdem-client-rust against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk2bd%2Fkev-holdem-client-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/k2bd/kev-holdem-client-rust on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/k2bd/kev-holdem-client-rust
[INFO] finished tweaking git repo https://github.com/k2bd/kev-holdem-client-rust
[INFO] tweaked toml for git repo https://github.com/k2bd/kev-holdem-client-rust written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/k2bd/kev-holdem-client-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded log v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e0780837bb1dc79797a1f4163b6ce150f816f0706f860eeed30504df3d60d278
[INFO] running `Command { std: "docker" "start" "-a" "e0780837bb1dc79797a1f4163b6ce150f816f0706f860eeed30504df3d60d278", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0780837bb1dc79797a1f4163b6ce150f816f0706f860eeed30504df3d60d278", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0780837bb1dc79797a1f4163b6ce150f816f0706f860eeed30504df3d60d278", kill_on_drop: false }`
[INFO] [stdout] e0780837bb1dc79797a1f4163b6ce150f816f0706f860eeed30504df3d60d278
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef122365a781a1a6b9d8f5ed7ec8571ac76a6c15adc56e7cffd4157f2d7ed270
[INFO] running `Command { std: "docker" "start" "-a" "ef122365a781a1a6b9d8f5ed7ec8571ac76a6c15adc56e7cffd4157f2d7ed270", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.34
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling futures v0.1.17
[INFO] [stderr]    Compiling byteorder v1.2.1
[INFO] [stderr]    Compiling version_check v0.1.3
[INFO] [stderr]    Compiling lazycell v0.5.1
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling slab v0.4.0
[INFO] [stderr]    Compiling scoped-tls v0.1.0
[INFO] [stderr]    Compiling take v0.1.0
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling smallvec v0.2.1
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling httparse v1.2.3
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling log v0.4.0
[INFO] [stderr]    Compiling base64 v0.9.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling unicase v2.1.0
[INFO] [stderr]    Compiling iovec v0.1.1
[INFO] [stderr]    Compiling net2 v0.2.31
[INFO] [stderr]    Compiling num_cpus v1.7.0
[INFO] [stderr]    Compiling rand v0.3.18
[INFO] [stderr]    Compiling time v0.1.38
[INFO] [stderr]    Compiling bytes v0.4.5
[INFO] [stderr]    Compiling mio v0.6.11
[INFO] [stderr]    Compiling mime v0.3.5
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling relay v0.1.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.7
[INFO] [stderr]    Compiling tokio-io v0.1.4
[INFO] [stderr]    Compiling tokio-core v0.1.11
[INFO] [stderr]    Compiling tokio-proto v0.1.1
[INFO] [stderr]    Compiling hyper v0.11.10
[INFO] [stderr]    Compiling kev-holdem-client-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `json` in this scope
[INFO] [stdout]   --> src/main.rs:18:41
[INFO] [stdout]    |
[INFO] [stdout] 18 |     req.headers_mut().set(ContentLength(json.len() as u64));
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `json` in this scope
[INFO] [stdout]   --> src/main.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     req.set_body(json);
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/main.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let post = client.request(req).and_then(|res| {
[INFO] [stdout]    |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/main.rs:15:43
[INFO] [stdout]    |
[INFO] [stdout] 6  | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let uri = "localhost:8000/reg".parse()?;
[INFO] [stdout]    |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, _>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kev-holdem-client-rust` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "ef122365a781a1a6b9d8f5ed7ec8571ac76a6c15adc56e7cffd4157f2d7ed270", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef122365a781a1a6b9d8f5ed7ec8571ac76a6c15adc56e7cffd4157f2d7ed270", kill_on_drop: false }`
[INFO] [stdout] ef122365a781a1a6b9d8f5ed7ec8571ac76a6c15adc56e7cffd4157f2d7ed270
